<template>
  <div>
    <el-button @click="query">

    </el-button>
  </div>
</template>

<script setup lang="ts">
import { getTreeInfo } from "@/api/tree/treeApi";
const query = async () => {
  const result = await getTreeInfo()
  console.log(result.data)
}

</script>

<style lang="less" scoped></style>
